<template>
  <div class="Loading-box wh100"
       v-loading="loading"
       element-loading-text="加载中..."
       element-loading-background="rgba(0, 0, 0, 0)">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "LoadingBox",
  props: {
    loading: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style scoped lang="scss">

</style>